package com.bf.electroplating.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 雨排口站点列表响应DTO
 *
 * @author system
 * @since 2025-01-11
 */
@Data
@Schema(description = "雨排口站点列表响应DTO")
public class RainfallSiteListResponseDTO {

    @Schema(description = "响应码")
    private String code;

    @Schema(description = "响应数据")
    private List<SiteInfo> data;

    @Schema(description = "是否成功")
    private Boolean success;

    @Data
    @Schema(description = "站点信息")
    public static class SiteInfo {

        @Schema(description = "基准值")
        private Integer baselineValue;

        @Schema(description = "行业名称")
        private String industryName;

        @Schema(description = "站点ID")
        private Integer id;

        @Schema(description = "站点名称")
        private String siteName;

        @Schema(description = "站点地址")
        private String siteAddr;

        @Schema(description = "站点状态")
        private Integer siteSts;
    }
}
